package com.adulcimer.models.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author Simon
 * @create 2025/7/18
 * @Description
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserSignDto {
    @Schema(description = "用户账号")
    @NotNull(message = "用户账号不能为空")
    private String account;

    @Schema(description = "用户密码")
    @NotNull(message = "用户密码不能为空")
    private String password;

    @Schema(description = "邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;

    @Schema(description = "姓名")
    @NotNull(message = "姓名不能为空")
    private String name;

    @Schema(description = "手机号码")
    @NotNull(message = "手机号码不能为空")
    private Long phone;

}
